package com.nlelpct.manage.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 小马
 * @since 2023-07-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("agreement_info")
public class AgreementInfo extends Model<AgreementInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * 协议id
     */
    @TableId(value = "xy_id", type = IdType.ASSIGN_UUID)
    private String xyId;

    /**
     * 标题
     */
    private String xyBt;

    /**
     * 内容
     */
    private String xyNr;

    /**
     * 文件内容
     */
    private String xyFile;

    /**
     * 乙方id
     */
    private String xyYfId;

    /**
     * 乙方名称
     */
    private String xyYfMc;

    /**
     * 乙方类型
     */
    private Integer yfType;

    /**
     * 甲方类型
     */
    private Integer jfType;

    /**
     * 协议类型
     */
    private Integer xyType;

    /**
     * 协议版本 默认值1
     */
    private Integer xyBb;

    /**
     * 协议状态
     */
    private Integer xyZt;

    /**
     * 协议系统id
     */
    private String xyXtId;

    /**
     * 协议系统名称
     */
    private String xyXtMc;

    /**
     * 创建时间
     */
    private LocalDateTime cjsj;

    /**
     * 编辑时间
     */
    private LocalDateTime bjsj;

    /**
     * 结束时间
     */
    private LocalDateTime jssj;

    /**
     * 版本名称
     */
    private String xyBbMc;


    public static final String XY_ID = "xy_id";

    public static final String XY_BT = "xy_bt";

    public static final String XY_NR = "xy_nr";

    public static final String XY_FILE = "xy_file";

    public static final String XY_YF_ID = "xy_yf_id";

    public static final String XY_YF_MC = "xy_yf_mc";

    public static final String YF_TYPE = "yf_type";

    public static final String JF_TYPE = "jf_type";

    public static final String XY_TYPE = "xy_type";

    public static final String XY_BB = "xy_bb";

    public static final String XY_ZT = "xy_zt";

    public static final String XY_XT_ID = "xy_xt_id";

    public static final String XY_XT_MC = "xy_xt_mc";

    public static final String CJSJ = "cjsj";

    public static final String BJSJ = "bjsj";

    public static final String JSSJ = "jssj";

    public static final String XY_BB_MC = "xy_bb_mc";



}
